#include <QCoreApplication>
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    float S=1000;
    float P;

    cout<<"Vvedite % :";
    cin>>P;
    int k=0;


    while (S<=1100)
    {
        S*=1+P/100;
        k++;
    }
    cout<<"Nomer MESITSIA: "<<k<<endl;
    cout<<"SUMMA: "<<S;
}
